% TEST_ID: LANG-ASSIGN-0003
% CATEGORY: language/assign
% 调用函数，函数返回三个返回值，实际只会返回前两个返回值

function test_assign_ret3_and_take2
    [a, b] = ret3();
    assert(isequal(a, 1));
    assert(isequal(b, 2));
end

function [a, b, c] = ret3
    a = 1;
    b = 2;
    c = 3;
end